home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextLibrary / Frameworks / NEXTIME.framework / Versions / A / Headers / movies.h < prev    next >
Encoding:
Text File  |  1995-08-30  |  1000 b   |  58 lines

  1. /*
  2.  * Definitions of types used in NeXTime movie representation.
  3.  *
  4.  */
  5. #import "typetags.h"
  6.  
  7. /*
  8.  * Player hints, for the NTMovie setPlayHints and playHints methods.
  9.  * All values should be powers of 2 (bit definitions).
  10.  */
  11. typedef enum
  12. {
  13.     NTHintPlayMode        = 0,
  14.     NTHintScrubMode        = 1 << 0
  15. } NTPlayHintFlags;
  16.  
  17.  
  18. /*
  19.  * Interesting time flags, for calls to getNextInterestingTime method
  20.  * in NTMedia, NTTrack, and NTMovie.
  21.  */
  22. typedef enum
  23. {
  24.     NTNextMediaSample    = 1 << 0,
  25.     NTNextMediaEdit        = 1 << 1,
  26.     NTNextTrackEdit        = 1 << 2,
  27.     NTNextSyncSample    = 1 << 3,
  28.     NTTimeEdgeOK        = 1 << 30,
  29.     NTIgnoreActiveSegment    = 1 << 31
  30. } NTInterestingTimeFlags;
  31.  
  32. /*
  33.  * Flags denoting the use of the track in the movie, preview, or poster.
  34.  */
  35. typedef enum
  36. {
  37.     NTUsageInMovie        = 1 << 1,
  38.     NTUsageInPreview    = 1 << 2,
  39.     NTUsageInPoster        = 1 << 3
  40. } NTUsage;
  41.  
  42. /*
  43.  * 3x3 transformation matrix
  44.  */
  45. typedef struct
  46. {
  47.     double        a;
  48.     double        b;
  49.     double        u;
  50.     double        c;
  51.     double        d;
  52.     double        v;
  53.     double        x;
  54.     double        y;
  55.     double        w;
  56. }
  57. NTMatrix;
  58.